import App from './App'
import pinia from './stores'
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// app.config.globalProperties.$baseURL = 'https://test-api-saas.syrykj.top'//通用域名配置
app.config.globalProperties.$baseURL = 'https://api.whalesaas.com'//通用域名配置
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App);
  app.use(pinia);
  // app.config.globalProperties.$baseURL = 'https://test-api-saas.syrykj.top'//通用域名配置
  app.config.globalProperties.$baseURL = 'https://api.whalesaas.com'//通用域名配置
  
  return {
    app
  }
}
// #endif
